# 启动celery的worker
import os

# from faster_api.celery_app import main
if __name__ == '__main__':
    print(os.getpid())
    cmd = """celery -A faster_api.celery_app:app worker --loglevel=info"""
    os.system(cmd)



